﻿@model Subfaculty.WebApplication.ViewModels.StudyAreaViewModel

<fieldset>
	<legend>Учебное направвление</legend>
	@Html.HiddenFor(c => c.Id)    
	
    <div>
        @Html.LabelFor(c => c.Name)
		<br />
		@Html.EditorFor(c => c.Name)
		@Html.ValidationMessageFor(c => c.Name)
    </div>
	<br />
    <div>
        @Html.LabelFor(c => c.Code)
		<br />
		@Html.EditorFor(c => c.Code)
		@Html.ValidationMessageFor(c => c.Code)
    </div>
	<br />
    <div>
        @Html.LabelFor(c => c.Profile)
		<br />
		@Html.EditorFor(c => c.Profile)
		@Html.ValidationMessageFor(c => c.Profile)
    </div>
	<br />
    <div>
        @Html.LabelFor(c => c.Qualification)
		<br />
		@Html.EditorFor(c => c.Qualification)
		@Html.ValidationMessageFor(c => c.Qualification)
    </div>
	<br />
	@(Html.Telerik().IntegerTextBoxFor(c => c.Duration)
      .InputHtmlAttributes(new { style = "width:100%" })
      .MinValue(1)
      .MaxValue(12)
)
<br />
</fieldset>